package jht.JDBC;



import com.mysql.jdbc.Driver;

import java.sql.DriverManager;

public class APPJdbc {
    public static void main(String[] args) throws Exception{
//        加载Mysql的驱动类
        Class.forName("com.mysql.jdbc.Driver");
        String url = "jdbc:mysql://localhost:3306/test?useSSL=false";
        String username = "root";
        String password = "root";
        DriverManager.getConnection(url,username,password);

    }
}
